package com.ef.service;

import java.util.List;

import com.ef.domain.Material;
import com.ef.util.CustomExample;
import com.ef.util.PaginationSupport;

public interface MaterialService extends BaseService {

	public PaginationSupport<Material> findByExample(
			CustomExample<Material> example, int startIndex, int pageSize);
	
	public void saveOrUpdate(Material entity);
	
	public void delete(Material entity);
	
	public Material findById(Long id);
	
	public List<Material> findALLVaild();
}
